package com.szboanda.platform.rms.dept.service;

import com.szboanda.platform.rms.dept.exception.DeptException;

import java.util.List;
import java.util.Map;

/**
 * @description:
 * @author: 袁云飞
 * @create: 2020-12-16 20:59
 **/
public interface IDeptService {

    List<Map<String, Object>> getAllDept() throws DeptException;

    List<Map<String, Object>> findNonrootDept() throws DeptException;

    Map<String, Object> addDept(Map<String, Object> var1) throws DeptException;

    int updateDept(Map<String, Object> var1) throws DeptException;

    Map<String, Object> isDelete(String var1) throws DeptException;

    int deleteDept(String var1) throws DeptException;

    List<Map<String, Object>> findDept(Map<String, Object> var1) throws DeptException;

    Map<String, Object> getDeptByXh(String var1) throws DeptException;

    Map<String, Object> getDeptByCode(String var1) throws DeptException;

    List<Map<String, Object>> getDeptByName(Map<String, Object> var1) throws DeptException;

    int addDeptList(List<Map<String, Object>> var1) throws DeptException;

    int isCanSetInvalid(String var1) throws DeptException;

    List getLowerDeptByXh(String deptXh);

    String getErjibumenXh(String bmbh);

    String jibie(String bmbh);
}
